import  axios from "../../axios.js"
// 费用报销
export default{
  // 目标查询
  selectAimManage(data,binding){
    return axios({
      url: '/crm/selectAimManage',
      method:'post',
      data,
      headers:{
        "binding": binding
      }
    })
  },
  // 获取下一级的部门或个人
  selectAimDepartPerson(data,binding){
    return axios({
      url: '/crm/selectAimDepartPerson',
      method:'get',
      params:data,
      headers:{
        "binding": binding
      }
    })
  },
  // 新建目标
  insertAimManage(data,binding){
    return axios({
      url: '/crm/insertAimManage',
      method:'post',
      data,
      headers:{
        "binding": binding
      }
    })
  },
  // 复制上一天
  selectLastAimManage(data,binding){
    return axios({
      url: '/crm/selectLastAimManage',
      method:'post',
      data,
      headers:{
        "binding": binding
      }
    })
  },
  deleteLastAimManage(data,binding){
    return axios({
      url: 'crm/deleteLastAimManage',
      method:'post',
      data,
      headers:{
        "binding": binding
      }
    })
  },
}
